package com.guli.mall.member.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Service;

import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guli.common.utils.PageUtils;
import com.guli.common.utils.Query;

import com.guli.mall.member.mapper.MemberStatisticsInfoMapper;
import com.guli.mall.member.entity.MemberStatisticsInfoEntity;
import com.guli.mall.member.service.MemberStatisticsInfoService;


@Service("memberStatisticsInfoService")
public class MemberStatisticsInfoServiceImpl extends ServiceImpl<MemberStatisticsInfoMapper, MemberStatisticsInfoEntity> implements MemberStatisticsInfoService {

    @Override
    public PageUtils<MemberStatisticsInfoEntity> queryPage(Integer currentPage, Integer size, Map<String, Object> params) {

        Page<MemberStatisticsInfoEntity> page = new Page<>(currentPage, size);

        Page<MemberStatisticsInfoEntity> resultPage = this.page(page);


        return new PageUtils<>(resultPage);
    }

}